﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site.master" AutoEventWireup="false" CodeFile="Copy of default.aspx.vb" Inherits="private_default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>
        Secure Members
    </h2>
    <asp:HiddenField ID="hdfUserName" runat="server" />
    <asp:FormView ID="FormView1" runat="server" AllowPaging="True" 
        DataKeyNames="Id" DataSourceID="ObjectDataSource1">
        <EditItemTemplate>
            Id:
            <asp:DynamicControl ID="IdDynamicControl" runat="server" DataField="Id" 
                Mode="ReadOnly" />
            <br />
            UserId:
            <asp:DynamicControl ID="UserIdDynamicControl" runat="server" DataField="UserId" 
                Mode="Edit" />
            <br />
            FirstName:
            <asp:DynamicControl ID="FirstNameDynamicControl" runat="server" 
                DataField="FirstName" Mode="Edit" />
            <br />
            LastName:
            <asp:DynamicControl ID="LastNameDynamicControl" runat="server" 
                DataField="LastName" Mode="Edit" />
            <br />
            MiddleInitial:
            <asp:DynamicControl ID="MiddleInitialDynamicControl" runat="server" 
                DataField="MiddleInitial" Mode="Edit" />
            <br />
            DisplayName:
            <asp:DynamicControl ID="DisplayNameDynamicControl" runat="server" 
                DataField="DisplayName" Mode="Edit" />
            <br />
            ContactEmail:
            <asp:DynamicControl ID="ContactEmailDynamicControl" runat="server" 
                DataField="ContactEmail" Mode="Edit" />
            <br />
            ReportEmail:
            <asp:DynamicControl ID="ReportEmailDynamicControl" runat="server" 
                DataField="ReportEmail" Mode="Edit" />
            <br />
            ContactPhone:
            <asp:DynamicControl ID="ContactPhoneDynamicControl" runat="server" 
                DataField="ContactPhone" Mode="Edit" />
            <br />
            ContactMobile:
            <asp:DynamicControl ID="ContactMobileDynamicControl" runat="server" 
                DataField="ContactMobile" Mode="Edit" />
            <br />
            Active:
            <asp:DynamicControl ID="ActiveDynamicControl" runat="server" DataField="Active" 
                Mode="Edit" />
            <br />
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                CommandName="Update" Text="Update" ValidationGroup="Insert" />
            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </EditItemTemplate>
        <InsertItemTemplate>
            UserId:
            <asp:DynamicControl ID="UserIdDynamicControl" runat="server" DataField="UserId" 
                Mode="Insert" ValidationGroup="Insert" />
            <br />
            FirstName:
            <asp:DynamicControl ID="FirstNameDynamicControl" runat="server" 
                DataField="FirstName" Mode="Insert" ValidationGroup="Insert" />
            <br />
            LastName:
            <asp:DynamicControl ID="LastNameDynamicControl" runat="server" 
                DataField="LastName" Mode="Insert" ValidationGroup="Insert" />
            <br />
            MiddleInitial:
            <asp:DynamicControl ID="MiddleInitialDynamicControl" runat="server" 
                DataField="MiddleInitial" Mode="Insert" ValidationGroup="Insert" />
            <br />
            DisplayName:
            <asp:DynamicControl ID="DisplayNameDynamicControl" runat="server" 
                DataField="DisplayName" Mode="Insert" ValidationGroup="Insert" />
            <br />
            ContactEmail:
            <asp:DynamicControl ID="ContactEmailDynamicControl" runat="server" 
                DataField="ContactEmail" Mode="Insert" ValidationGroup="Insert" />
            <br />
            ReportEmail:
            <asp:DynamicControl ID="ReportEmailDynamicControl" runat="server" 
                DataField="ReportEmail" Mode="Insert" ValidationGroup="Insert" />
            <br />
            ContactPhone:
            <asp:DynamicControl ID="ContactPhoneDynamicControl" runat="server" 
                DataField="ContactPhone" Mode="Insert" ValidationGroup="Insert" />
            <br />
            ContactMobile:
            <asp:DynamicControl ID="ContactMobileDynamicControl" runat="server" 
                DataField="ContactMobile" Mode="Insert" ValidationGroup="Insert" />
            <br />
            Active:
            <asp:DynamicControl ID="ActiveDynamicControl" runat="server" DataField="Active" 
                Mode="Insert" ValidationGroup="Insert" />
            <br />
            <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" 
                CommandName="Insert" Text="Insert" ValidationGroup="Insert" />
            &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" />
        </InsertItemTemplate>
        <ItemTemplate>
            Id:
            <asp:DynamicControl ID="IdDynamicControl" runat="server" DataField="Id" 
                Mode="ReadOnly" />
            <br />
            UserId:
            <asp:DynamicControl ID="UserIdDynamicControl" runat="server" DataField="UserId" 
                Mode="ReadOnly" />
            <br />
            FirstName:
            <asp:DynamicControl ID="FirstNameDynamicControl" runat="server" 
                DataField="FirstName" Mode="ReadOnly" />
            <br />
            LastName:
            <asp:DynamicControl ID="LastNameDynamicControl" runat="server" 
                DataField="LastName" Mode="ReadOnly" />
            <br />
            MiddleInitial:
            <asp:DynamicControl ID="MiddleInitialDynamicControl" runat="server" 
                DataField="MiddleInitial" Mode="ReadOnly" />
            <br />
            DisplayName:
            <asp:DynamicControl ID="DisplayNameDynamicControl" runat="server" 
                DataField="DisplayName" Mode="ReadOnly" />
            <br />
            ContactEmail:
            <asp:DynamicControl ID="ContactEmailDynamicControl" runat="server" 
                DataField="ContactEmail" Mode="ReadOnly" />
            <br />
            ReportEmail:
            <asp:DynamicControl ID="ReportEmailDynamicControl" runat="server" 
                DataField="ReportEmail" Mode="ReadOnly" />
            <br />
            ContactPhone:
            <asp:DynamicControl ID="ContactPhoneDynamicControl" runat="server" 
                DataField="ContactPhone" Mode="ReadOnly" />
            <br />
            ContactMobile:
            <asp:DynamicControl ID="ContactMobileDynamicControl" runat="server" 
                DataField="ContactMobile" Mode="ReadOnly" />
            <br />
            Active:
            <asp:DynamicControl ID="ActiveDynamicControl" runat="server" DataField="Active" 
                Mode="ReadOnly" />
            <br />
            <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" 
                CommandName="Edit" Text="Edit" />
            &nbsp;<asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" 
                CommandName="Delete" Text="Delete" />
            &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" 
                CommandName="New" Text="New" />
        </ItemTemplate>
    </asp:FormView>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        DeleteMethod="Delete" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        TypeName="LogginsLogDSTableAdapters.PersonTableAdapter">
        <DeleteParameters>
            <asp:Parameter Name="Original_Id" Type="Int32" />
        </DeleteParameters>
        <SelectParameters>
            <asp:ControlParameter ControlID="hdfUserName" DbType="Guid" Name="UserId" 
                PropertyName="Value" />
        </SelectParameters>
    </asp:ObjectDataSource>
    </asp:Content>

